/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
/*
*  \class	TRangeMeasurement
*  \author 	Jari Saarinen
*  \date 	Mon Mar 13 13:02:57 2006

*  \version: 	0.1  
*/


#include "TRangeMeasurement.h"



//-----------------------------------------------------------------------------//
// Constructors and destructors
//-----------------------------------------------------------------------------//
TRangeMeasurement::TRangeMeasurement()
{
	this->a = 0;
	this->r = 0;
	this->beamWidth=0;
	this->distError = 0;
}
TRangeMeasurement::TRangeMeasurement(float r,float a, float distErr, float beamWidth);
{
	this->a = a;
	this->r = r;
	this->beamWidth=beamWidth;
	this->distError =distError;
}

TRangeMeasurement::~TRangeMeasurement(){}

//-----------------------------------------------------------------------------//
// GET
//-----------------------------------------------------------------------------//
float TRangeMeasurement::getA(){
	return this->a;
}
float TRangeMeasurement::getR(){
	return this->r;
}
float TRangeMeasurement::getDistErr(){
	return this->distError;
}
float TRangeMeasurement::getBeamWidth(){
	return this->beamWidth;
}
//-----------------------------------------------------------------------------//
// SET
//-----------------------------------------------------------------------------//
void TRangeMeasurement::setA(float a){
	this->a = a;
}
void TRangeMeasurement::setR(float r){
	this->r = r;
}
void TRangeMeasurement::setValues(float r,float a, float distErr, float beamWidth){
	this->a = a;
	this->r = r;
	this->beamWidth=beamWidth;
	this->distError =distError;
}

//-----------------------------------------------------------------------------//


